package pokerAI.PokerAI;

import android.app.Activity;
import android.content.Intent;

import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;
import android.widget.Toast;

/*
 * Splash Screen Activity
 */
public class pokerAI extends Activity {
	/** Private UI Widgets */
	private ImageView splashImage;
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        
        //Splash Screen Event Handler
        splashImage = (ImageView) findViewById(R.id.splash);
        splashImage.setOnClickListener(new View.OnClickListener() {
            public void onClick(View v) {
           	 Toast.makeText(getBaseContext(), "Welcome to the Shore", 
                		Toast.LENGTH_SHORT).show();
           	 Intent myIntent = new Intent(v.getContext(), GameState.class);
                startActivityForResult(myIntent, 0); 	   
           }
       });
    }
}